templateScrollbar
Type
keyword
Summary
Used with the set command to set the properties of newly created scrollbars.
Syntax
templateScrollbar
Description
Use the templateScrollbar keyword to set up default properties to be used for any new scrollbars you create.
The templateScrollbar can be thought of as a special, abstract object. It is not an actual scrollbar, but it has all the properties of a scrollbar. The ID property of the templateScrollbar is zero.
You can use the set command to set the properties of the templateScrollbar before creating a scrollbar. The new scrollbar has the properties of the templateScrollbar, by default. Changing the properties of the templateScrollbar does not affect existing scrollbars.
The properties of the templateScrollbar can be returned to the default settings using the reset command.
You can refer to the templateScrollbar using any of the following forms:templateScrollbar
the templateScrollbar
templateScrollbar()
The templateScrollbar keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.
Examples
set the style of the templateScrollbar to scale
Related
glossary: object, keyword, property, command, expression
keyword: templateField, templateGroup, templateVideoClip, templateEPS, scrollbar, templatePlayer, templateImage, templateStack, templateGraphic, default, templateAudioClip, templateButton, templateCard
message: newScrollbar
object: scrollbar
property: properties, ID
control structure: function
function: functionNames
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile